package NGUYENXUANTUNG.EXCERCISE.BAI1LV2;

import java.util.Scanner;

public class VIEWS {
public static void main(String[] args) {
		
		System.out.println("Input side1 : ");
		Scanner sc = new Scanner(System.in);
		double a = sc.nextDouble();
		
		System.out.println("Input side2 : ");
		double b = sc.nextDouble();
		
		System.out.println("Input side3 : ");
		double c = sc.nextDouble();
		
		System.out.println("Input option : 1 - Perimeter, 2 - Area ");
		short opt = sc.nextShort();
		
		CONTROLLERS objController = new CONTROLLERS();
		
		System.out.println("Result" + objController.Run(a, b, c, opt));		
	}
}
